package io.kiki.sba.registry.common.model.slot;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class LeaderSlotStatus extends BaseSlotStatus implements Serializable {

    private final LeaderStatus leaderStatus;


    public LeaderSlotStatus(int slotId, long slotLeaderEpoch, String server, LeaderStatus leaderStatus) {
        super(slotId, slotLeaderEpoch, SlotRole.leader, server);
        this.leaderStatus = leaderStatus;
    }


}
